<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
    <meta name="viewport"
          content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
    <meta name="format-detection" content="telephone=no, email=no"/>
    <meta name="apple-mobile-web-app-capable" content="yes"/>
    <meta name="apple-mobile-web-app-status-bar-style" content="black"/>
    <title>Title</title>

    <style>
        * {
            margin: 0;
            padding: 0;
        }

        .box {
            padding-top: 30px;
            /*background: gainsboro;*/
        }

        #user {
            width: 124px;
            height: 32px;
            border: 1px solid #efefef;
            text-align: center;
            float: left;
            font-size: 16px;
            line-height: 32px;
            position: relative;
            background: #f7f7f7;
        }

        #user span {
            font-size: 12px;
            color: #666666;
        }

        .user_l {
            width: 17px;
            height: 17px;
            position: absolute;
            left: 4px;
            top: 50%;
            margin-top: -8px;
        }

        .user_r {
            width: 10px;
            height: 10px;
            position: absolute;
            right: 9px;
            top: 50%;
            margin-top: -5px;
        }

        .user_l img {
            vertical-align: top;
        }

        .user_r img {
            vertical-align: top;
        }

        .boor {
            height: 20px;
            font-size: 12px;
            line-height: 17px;
            color: white;
            padding: 0 5px;
            background: url("img/c_img.png") repeat-x 0 0;
            position: absolute;
            left: 20px;
            top: -17px;
        }


        .boor_r {
            width: 3px;
            height: 20px;
            background: url("img/r_img.png") no-repeat;
            position: absolute;
            right: 0;
            top: 0;
        }

        .boor_l {
            width: 3px;
            height: 20px;
            background: url("img/l_img.png") no-repeat;
            position: absolute;
            left: 0;
            top: 0;
        }

        .boor #num {
            color: white;
        }
    </style>
</head>
<body>

<div class="box">
    <div id="user">
        <span>去购物车结算</span>
        <i class="user_l"><img src="img/buycar.png" alt=""></i>
        <i class="user_r"><img src="img/buycar_btn.png" alt=""></i>

        <div class="boor">
            <span id="num">99</span>
            <i class="boor_l"></i>
            <i class="boor_r"></i>
        </div>
    </div>

</div>

</body>
</html>